package com.demo.controller;

import com.demo.model.User;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Controller;

/**
 * @program: spring-demo2
 * @author: JCM
 * @create: 2023-02-24 18:36
 * @description:
 **/
@Controller
public class UserAdviceController {

    @Autowired
    private User user1;

    public void getUser() {
        System.out.println("王五 | user1：" + user1);
    }
}
